package com.yuyang.gulimall.ware.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.yuyang.common.utils.PageUtils;
import com.yuyang.common.utils.R;
import com.yuyang.gulimall.ware.entity.PurchaseEntity;
import com.yuyang.gulimall.ware.vo.PurchaseDoneVo;
import com.yuyang.gulimall.ware.vo.PurchaseMergeVO;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author yuyang
 * @email yuyang@gmail.com
 * @date 2022-11-22 21:55:28
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageListUnreceive(Map<String, Object> params);

    R mergePurchaseDetail(PurchaseMergeVO purchaseMergeVO);

    void receivedPurchase(List<Long> purchaseIds);

    void finishPurchase(PurchaseDoneVo purchaseDoneVo);

}

